<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>MJ SYSTEM</title>

    <link rel="stylesheet" href="css/index_style.css" />

</head>
<body>
<h1 th:text="${message}"></h1>
<div style="display: flex; justify-content: center;">
    <a th:href="@{/loginPage}" style="margin-right: 20px;">登录</a>
    <a th:href="@{/registerPage}">注册</a>
</div>

<br/>
<table>
    <tr>
        <td th:each="info:${infoList}" th:text="${info}"></td>
    </tr>
</table>
<br/>
<img src="image/zhy.jpg" alt="图片加载失败">
<hr/>

<div th:if="${session.user != null }">
    <h1 th:text="${session.user.phone}"></h1>
</div>
</body>
</html>
